from django import template

register = template.Library()

def key(dict, key):
    return dict[key]
#end def

register.filter('key', key)